<template>
  <div class="layout">
    <sidebar></sidebar>
    <div class="content">
      <div class="inner">
        <router-view></router-view>
      </div>
    </div>

  </div>
</template>

<script>
  import Sidebar from '../components/sidebar'

  export default {
    components: {
      Sidebar
    }
  }
</script>

<style lang="scss" scoped>
  .layout {
    width: 100%;
    height: 100%;
  }

  .content {
    padding-left: 220px;
    height: 100%;
  }

  .inner {
    padding: 20px;
    height: calc(100% - 60px);
  }
</style>
